package com.sharding.transaction.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@MapperScan({
        "com.baomidou.springboot.mapper*" ,"com.sharding.transaction.demo.mapper"
})
//@SpringBootApplication(exclude = {
//        DruidDataSourceAutoConfigure.class,
//        DataSourceAutoConfiguration.class,
//})
@SpringBootApplication
@EnableTransactionManagement
public class OrderProviderApplication {

    public static void main(String[] args) {

        SpringApplication.run(OrderProviderApplication.class, args);
    }

}

